let { request_3031, request_3001 } = require("../../utils/https.js");

module.exports = {
  // 新增项目
  addPrograms: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/addNewProject",
      method: "POST",
      data,
    });
  },
  // 快速新增
  
  addFastPrograms: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/addFastNewProject",
      method: "POST",
      data,
    });
  },
  updatePrograms: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/updateProjectDetail",
      method: "POST",
      data,
    });
  },

  addEnterprise: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/insertNewProject/enterprise",
      method: "POST",
      data,
    });
  },
  addrequirement: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/insertNewProject/demand",
      method: "POST",
      data,
    });
  },
  
  addscience: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/insertNewProject/science",
      method: "POST",
      data,
    });
  },
  // 日志
  addOperateLog: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/addOperateLog",
      method: "POST",
      data,
    });
  },
  addDingLog: (data) => {
    console.log(data);
    return request_3001({
      url: "/circulation/addDingLog",
      method: "POST",
      data,
    });
  },
};
